/**
 * Copyright (c) 2013-Now http://jeesite.com All rights reserved.
 */
package com.jeesite.modules.ad.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.jeesite.common.entity.Page;
import com.jeesite.common.service.TreeService;
import com.jeesite.modules.ad.entity.AdIndustryType;
import com.jeesite.modules.ad.dao.AdIndustryTypeDao;

/**
 * 行业类型表(ad_industry_type)Service
 * @author jjj
 * @version 2019-05-07
 */
@Service
@Transactional(readOnly=true)
public class AdIndustryTypeService extends TreeService<AdIndustryTypeDao, AdIndustryType> {
	
	/**
	 * 获取单条数据
	 * @param adIndustryType
	 * @return
	 */
	@Override
	public AdIndustryType get(AdIndustryType adIndustryType) {
		return super.get(adIndustryType);
	}
	
	/**
	 * 查询列表数据
	 * @param adIndustryType
	 * @return
	 */
	@Override
	public List<AdIndustryType> findList(AdIndustryType adIndustryType) {
		return super.findList(adIndustryType);
	}
	
	/**
	 * 保存数据（插入或更新）
	 * @param adIndustryType
	 */
	@Override
	@Transactional(readOnly=false)
	public void save(AdIndustryType adIndustryType) {
		super.save(adIndustryType);
	}
	
	/**
	 * 更新状态
	 * @param adIndustryType
	 */
	@Override
	@Transactional(readOnly=false)
	public void updateStatus(AdIndustryType adIndustryType) {
		super.updateStatus(adIndustryType);
	}
	
	/**
	 * 删除数据
	 * @param adIndustryType
	 */
	@Override
	@Transactional(readOnly=false)
	public void delete(AdIndustryType adIndustryType) {
		super.delete(adIndustryType);
	}
	
}